<?php echo $header;?>
<div id="column-left">
	<div class="box" >
	<div class="box-heading"><?php echo $user["nickname"]; ?> </div>
	<div class="box-content">注册时间:<?php echo $user["date_added"];?></div>
	</div>
	
	<div class="box" >
	<div class="box-heading"><?php echo $user["nickname"]; ?>的计划</div>
	<?php foreach($allstatus as $onestatus){
		?>
		<div class="box-content" style="background:<?php echo $onestatus['status_background'];?>"><a href="<?php echo $link_status.$onestatus["status"];?>" ><?php echo $onestatus["status_content"];?></a></div>
		<?php
	}?>
	</div>
</div>

<div id="content">
<?php if(isset($information)){
		?>
		<div class="warning"><?php echo $information;?></div>
		<?php
		}
?>
	
	<?php	
		if(isset($userplans)){	?>
		<div class="box" >
		<div class="box-heading" style="background:<?php echo $status['status_background'];?>"><?php echo $status["status_content"]?></div>
		<?php
					foreach($userplans as $myplan){
						if($myplan['status']==$status['status']){
						?>
						<div class="box-content">
						<div class="left">
								计划类型:<?php echo $myplan["type_content"];?><a href="<?php echo $viewplan.$myplan["plan_id"];?>" class="button"><span>查看详情</span></a>
								</div>
						<br/>
						<?php echo $myplan["content"];?>
						<div class="right">
						<?php echo $myplan["date_added"];?>
						</div>
						</div>
						<?php
				
					}
				?>
				
				<?php
			}
		}
	?>
	</div>
	
	<div class="pagination"><?php echo $pagination; ?></div>
		
</div>
<?php echo $footer;?>